//
//  WHTFirstPageTripModel.m
//  WZLProduct
//
//  Created by dllo on 16/3/21.
//  Copyright © 2016年 HaiTeng. All rights reserved.
//

#import "WHTFirstPageTripModel.h"

@implementation WHTFirstPageTripModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        _ID = value;
    }
    
    if ([key isEqualToString:@"user"]) {
        _userID = value[@"id"];
        _userName = value[@"name"];
        _avatar_s = value[@"avatar_s"];
    }
    
}

@end
